{extend name="base"/}
{block name="resources"}
<style>
    .ns-card-brief:nth-child(1){
        margin-top: 0;
    }
    .layui-card-body{
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 0 !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .layui-card-body .content{
        width: 33.3%;
        margin-bottom: 30px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }
    .layui-card-body .money{
        font-size: 16px;
        color: #000;
        font-weight: bold;
        /*margin-top: 10px;*/
        /*max-width: 250px;*/
    }
    .layui-card-body .subhead{
        font-size: 12px;
        margin-left: 3px;
        cursor: pointer;
    }
</style>
{/block}

{block name="main"}
<div class="layui-card ns-card-common ns-card-brief">
    <div class="layui-card-header">
        <div>
            <span class="ns-card-title">信息</span>
        </div>
    </div>

    <div class="layui-card-body">
        <div class="content">
            <div class="title ns-prompt-block">
                企业名称:
                <span class="money">
                    {$info.enterprise_name}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                企业所在地:
                <span class="money">
                    {$info.full_address}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                企业详细地址:
                <span class="money">
                    {$info.address}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                统一社会信用代码:
                <span class="money">
                    {$info.tyshxydm}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                社会信用证有效期:
                <span class="money">
                     {if $info.shxyzyxq_time_type==1}
                永久
                {else/}
                {$info.shxyzyxq_start_time}~{$info.shxyzyxq_end_time}
                {/if}
                </span>

            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                经营范围:
                <span class="money">
                    {$info.business_boundaries}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                法人姓名:
                <span class="money">
                    {$info.realname}
                </span>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                法人手机号:
                <span class="money">
                    {$info.mobile}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                法人身份证号:
                <span class="money">
                    {$info.id_card_num}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                法人身份证有效期:
                <span class="money">
                    {if $info.id_card_time_type==1}
                永久
                {else/}
                {$info.id_card_start_time}~{$info.id_card_end_time}
                {/if}
                </span>

            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                资质:<img layer-src src="{:img($info.qualification_img)}" style="width: 100px;"/>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                身份证正面:<img layer-src src="{:img($info.id_card_front_img)}" style="width: 100px;"/>
            </div>
        </div>

        <div class="content">
            <div class="title ns-prompt-block">
                身份证反面:<img layer-src src="{:img($info.id_card_reverse_img)}" style="width: 100px;"/>
            </div>
        </div>
    </div>
</div>

<div class="layui-card ns-card-common ns-card-brief">
    <div class="layui-card-header">
        <div>
            <span class="ns-card-title">银行卡</span>
        </div>
    </div>
    <div class="layui-card-body">
        <div class="content">
            <div class="title ns-prompt-block">
                持卡人姓名:
                <span class="money">
                    {$info.cardholder_realname}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                持卡人手机号:
                <span class="money">
                    {$info.cardholder_mobile}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                持卡人证件号码:
                <span class="money">
                    {$info.cardholder_id_card_num}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                银行卡号:
                <span class="money">
                    {$info.bank_card_number}
                </span>
            </div>
        </div>
        <div class="content">
            <div class="title ns-prompt-block">
                银行卡类型:
                <span class="money">{$info.bank_type==1?'对公':'对私'}</span>
            </div>
        </div>
    </div>
</div>
{/block}